'ctrl'
resource, but I haven't been able to
make any connections between the two sets of coordinates. We are using a ProcID
of 1008.'ctrl'
resource. Here are some guidelines for the values for the various
fields:
BoundsRect: The bounds rect should be big enough to frame both the popup menu title and the popup menu indicator.
Value: Holds the constant which allows you to specify the style and justification of the popup.
Max: The width of the popup menu title.
Min: The resource ID of the 'MENU' resource.
ProcID: 1008 + a variation code, if desired.
RefCon: For your application to use.
Title: Whatever you'd like.
It is important to have values for Bounds and Max that make sense. The following figure shows the relationship between the numbers:
Popup: [Popup Item ] | > bounds.left | > bounds.right | > title width (Max)